﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IfSoft.OA.Business
{
    public static class BusinessPermission
    {
        public static Dictionary<string, Permission> Permissions { get; set; }
        public static BusinessPermission()
        {
            Permissions.Add("BankBill_Step1", new Permission { "BankBill_Step1", "第一步：[请款人权限] 新建/编辑/提交申请单", "BankBill" });
            Permissions.Add("BankBill_Step2", new Permission { "BankBill_Step2", "第二步：[部门负责人权限] 审批/拒绝", "BankBill" });
            Permissions.Add("BankBill_Step3", new Permission { "BankBill_Step3", "第三步：[财务部权限] 审批/拒绝", "BankBill" });
            Permissions.Add("BankBill_Step4", new Permission { "BankBill_Step4", "第四步：[监事长权限] 审批/拒绝", "BankBill" });
            Permissions.Add("BankBill_Step5", new Permission { "BankBill_Step5", "第五步：[总裁权限] 审批/拒绝", "BankBill" });
        }
    }

    public class Permission
    {
        public string Code { get; set; }
        public string Description { get; set; }
        public string Module { get; set; }
    }
}
